<@sp.pagehead shiroUserHelper.getCurrentShiroUser().parentSources />
<div class="panel panel-inverse" data-sortable-id="form-stuff-5">
    <div class="panel-heading">
        <h4 class="panel-title">学生查询</h4>
    </div>
    <div class="panel-body">
        <form id="studentForm" name="studentForm" method="post" class="form-inline">
            <div class="form-group m-r-10">
                <input type="text" class="form-control" name="LIKE_stuName" value=""
                       placeholder="学生名称">
            </div>
            <div class="form-group m-r-10">
                <input type="text" class="form-control" name="EQ_stuCode" value=""
                       placeholder="学生学号">
            </div>
            <!--
            <div class="form-group m-r-10">
                按班级查询：
                <select>
                    <#list clses as cls>
                    <option value="${cls.id}">${cls.clsName}</option>
                    </#list>
                </select>
            </div>
            -->
            <button type="button" class="btn btn-sm btn-primary m-r-5"
                    onclick="postDataByFormDisplay('student/list','studentList','studentForm')">
                <i class="fa fa-search m-r-5"></i>查 询
            </button>
            <button type="button" class="btn  btn-default btn-sm m-r-5"
                    onclick="cleanForm('studentForm')">
                <i class="fa fa-refresh m-r-5"></i>重置
            </button>
        </form>
    </div>
</div>
<hr/>
<div class="panel panel-inverse" data-sortable-id="table-basic-4" id="studentList">
    <div class="progress progress-striped active">
        <div class="progress-bar" id="progressBar">玩命加载中..</div>
    </div>
</div>
<script type="application/javascript">
    $(function () {
        $("#progressBar").show(function () {
            $("#progressBar").width(Math.round(Math.random() * 90 + 10) + '%');
        });
        postDataByFormDisplay('${rc.contextPath}/student/list', 'studentList', 'studentForm');
    });

</script>